package genedit.model.graph.classModel;

import genedit.model.graph.GraphDocument;
import genedit.model.graph.Link;

public class AggregationLink   extends Link{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1331708760012121567L;
	private String roleNameStart;
	private String roleNameEnd;
	private String multiplicityStart;
	private String multiplicityEnd;
	
	public String getRoleNameStart() {
		return roleNameStart;
	}

	public void setRoleNameStart(String roleNameStart) {
		this.roleNameStart = roleNameStart;
	}

	public String getRoleNameEnd() {
		return roleNameEnd;
	}

	public void setRoleNameEnd(String roleNameEnd) {
		this.roleNameEnd = roleNameEnd;
	}

	public AggregationLink(GraphDocument parent) {
		super(parent);
		startNavigable = true;
		endNavigable = true;
		multiplicityStart = "0..1";
		multiplicityEnd = "0..*";
		roleNameStart = "";
		roleNameEnd  = "";
	}

	public AggregationLink(GraphDocument parent, String name) {
		super(parent, name);
		startNavigable = true;
		endNavigable = true;
		multiplicityStart = "0..1";
		multiplicityEnd = "0..*";
		roleNameStart = "";
		roleNameEnd  = "";
	}
	
	public String getMultiplicityStart() {
	return multiplicityStart;
}

public void setMultiplicityStart(String multiplicityStart) {
	this.multiplicityStart = multiplicityStart;
}

public String getMultiplicityEnd() {
	return multiplicityEnd;
}

public void setMultiplicityEnd(String multiplicityEnd) {
	this.multiplicityEnd = multiplicityEnd;
}	
		
}